package brush;

import draw.DrawCommand;

public class BrushStateContext implements DrawCommand {

	private BrushState currentState;
	
	public BrushStateContext(BrushState state) {
		this.currentState = state;
	}
	
	public void setState(final BrushState state) {
		currentState = state;
	}
	
	@Override
	public void draw() {
		currentState.draw(this);
	}
}
